I can understand the pressure you are in currently. Most journals take a few weeks for the initial editorial assessment, but in your case, it’s been too long. I think you should explain the urgency of your situation to the journal and request them to expedite the process. Explain that you are a PhD student and that you need an accepted paper for your graduation. Mention a date by which you would need a decision. There are cases when PhD students need an early decision on their paper for their graduation, so hopefully the editor will understand your problem.
We have a handbook on templates for communicating with the journal which includes a template for requesting an early decision for graduation.
Another way to ensure that you get an early decision would be to ask your supervisor to write to the editor on your behalf. As your supervisor and a senior researcher, if he/she puts in a word on your behalf, the editor might feel obliged to minimize further delays.
Related reading:
How do I write an inquiry to the editor about my manuscript's current status?Can I contact the journal editorial office to request a quick decision?6 effective tips to help you communicate better with journals